package calbs.socket.packaging;/**
 * Created by zhangqin on 2017/8/21.
 */

import calbs.socket.pojo.resp.RespData;
import calbs.socket.pojo.resp.RespLoginRefuseMsg;
import calbs.socket.pojo.resp.RespPingMsg;
import calbs.socket.tool.CHexConver;

/**
 * @author
 * @create 2017-08-21 11:30
 **/
public class NopPackingImp implements PackagingI<RespPingMsg> {
    @Override
    public String analysisMsg(RespData<RespPingMsg> respData){
        RespPingMsg respLoginRefuseMsg = respData.getBody();
        //String content = Integer.parseInt(respLoginRefuseMsg.getErrorId()+"",16)+"";
        String content = null;
        return PackingUtils.packing(respData.getBody(),content);
    }
}
